package com.example.gitstudy.config.service;

import com.example.gitstudy.config.ResponseResult;
import com.example.gitstudy.config.entity.User;

import javax.servlet.http.HttpServletRequest;
import javax.servlet.http.HttpServletResponse;

/**
 * @author hwj
 * @date 2023/1/12 11:08
 * @描述；
 */
public interface LoginService {

    ResponseResult login(User user, HttpServletResponse response, HttpServletRequest request);
    ResponseResult logOut();
}
